package com.tangbue.springcloud.myHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.tangbue.springcloud.entities.CommonResult;
import com.tangbue.springcloud.entities.Payment;

public class CustomerBlockHandler {
    public static CommonResult HandlerException(BlockException e){
        return new CommonResult(4444,"按客户自定义，global 111",new Payment(20L,"serial"));
    }

    public static CommonResult HandlerException2(BlockException e){
        return new CommonResult(4444,"按客户自定义，global 222",new Payment(20L,"serial"));
    }
}
